/*package com.webapp.dao;

import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class ReportDAO {

	
	@Autowired
	private SessionFactory sessionFactory;
	
	public Session getSession(){
		return sessionFactory.getCurrentSession();
	}
	
	public Object findReportSelect() {
		String sql = "SELECT "
	    +"'F_GL_Report_R001'.'Version' AS 'Version', "
	    +"'F_GL_Report_R001'.'Year' AS 'Year0', "
	    +"'F_GL_Report_R001'.'Reporting_Entity' AS 'Reporting_Entity', "
	    +"'F_GL_Report_R001'.'Office' AS 'Office', "
	    +"'F_GL_Report_R001'.'SubBU' AS 'SubBU', "
	    +"'F_GL_Report_R001'.'SalaryGrade' AS 'SalaryGrade' "
	+"FROM "
	 +   "'tm1tocognos'.'dbo'.'F_GL_Report_R001' 'F_GL_Report_R001'  "
	+"GROUP BY "
	+    "'F_GL_Report_R001'.'Version', "
	 +   "'F_GL_Report_R001'.'Year', "
	 +   "'F_GL_Report_R001'.'Reporting_Entity', "
	 +   "'F_GL_Report_R001'.'Office', "
	 +   "'F_GL_Report_R001'.'SubBU', "
	 +   "'F_GL_Report_R001'.'SalaryGrade'";
		
		Object obj = getSession().createSQLQuery(sql).uniqueResult();
		System.err.println(obj);
		return null;
	}
	
	
}
*/